<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            width: 200px;
            height: 200px;
        }

        .one {
            background-color: pink;
            /*占位隐藏*/
            /*visibility: hidden;*/

            display: none;
        }

        .two {
            background-color: green;
        }
    </style>
</head>
<body>
<div class="one">one</div>
<div class="two">two</div>
</body>
</html>